package com.qpcy.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *  实体类。
 *
 * @author DELL
 * @since 2024-10-20
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "video")
public class Video implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 视频id
     */
    @Id(keyType = KeyType.Auto)
    private Integer videoId;

    /**
     * 视频地址
     */
    private String url;

    /**
     * 视频标题
     */
    private String title;

    /**
     * 视频排序
     */
    private Integer sort;

}
